/*
 * =====================================================================================
 *
 *       Filename:  ClassAOSA.cpp
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  12/01/3012 08:18:41 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME (), 
 *   Organization:  
 *
 * =====================================================================================
 */
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <iomanip>
#include "ClassAOSA.h"

ClassAOSA::ClassAOSA() {
    cout << setw(50) << "empty construct class "<< setw(30) << this << endl;
}

ClassAOSA::ClassAOSA(string name) {
    m_name = name; 
    cout << setw(50) << "construct class " << m_name << setw(30) << this << endl;
}

ClassAOSA::ClassAOSA(const ClassAOSA &another) {
    m_name = another.m_name; 
    cout << setw(50) << "copy construct class " << m_name  << setw(30)<< this << endl;
}

ClassAOSA& ClassAOSA::operator=(const ClassAOSA& another) {
    m_name = another.m_name;
    cout << setw(50) << "operateor= construct class " << m_name  << setw(30)<< this << endl;
    return *this;
}

ClassAOSA::~ClassAOSA() {
    cout << setw(50) << "destruct class " << m_name  << setw(30)<< this << endl;
}



